<?php

// Define path to application directory
defined('APPLICATION_PATH')
	|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/application'));

// Define application environment
defined('APPLICATION_ENV')
	|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ?
			getenv('APPLICATION_ENV') : 'production'));

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
	    realpath(APPLICATION_PATH . '/../library'),
	    get_include_path(),
	)));
/** Zend_Application */
require_once 'Zend/Application.php';
// Create application, bootstrap, and run
$application = new Zend_Application(
		APPLICATION_ENV,
		APPLICATION_PATH . '/configs/application.ini'
);

/* Router Logic Over here */

$frontController = Zend_Controller_Front::getInstance();
$router = $frontController->getRouter(); // returns a rewrite router by default




/* Router of About US */
$router->addRoute('about_us',
	new Zend_Controller_Router_Route(
		'about-us',
		array('controller' => 'aboutus', 'action' => 'index')
	)
);

/* Router of Web Development */
$router->addRoute('web_development',
	new Zend_Controller_Router_Route(
		'web-development',
		array('controller' => 'webdevelopment', 'action' => 'index')
	)
);

/* Router of Web Development - Php Development */
$router->addRoute('web_development_php_development',
	new Zend_Controller_Router_Route(
		'php-web-development',
		array('controller' => 'webdevelopment', 'action' => 'phpdevelopment')
	)
);

/* Router of Web Development - Mobile Development */
$router->addRoute('web_development_mobile_development',
	new Zend_Controller_Router_Route(
		'mobile-web-development',
		array('controller' => 'webdevelopment', 'action' => 'mobilewebdevelopment')
	)
);

/* Router of Web Designing */
$router->addRoute('web_designing',
	new Zend_Controller_Router_Route(
		'web-designing',
		array('controller' => 'webdesign', 'action' => '')
	)
);


/* Router of Web Designing HTMl Development */
$router->addRoute('web_designing_html_development',
	new Zend_Controller_Router_Route(
		'html-development',
		array('controller' => 'webdesign', 'action' => 'htmldevelopment')
	)
);


/* Router of Web Designing Logo Design */
$router->addRoute('web_designing_logodesign',
	new Zend_Controller_Router_Route(
		'logo-design',
		array('controller' => 'webdesign', 'action' => 'logodesign')
	)
);

/* Router of Web Designing Psd Development */
$router->addRoute('web_designing_psddevelopment',
	new Zend_Controller_Router_Route(
		'psd-development',
		array('controller' => 'webdesign', 'action' => 'psddevelopment')
	)
);


/* Router of Web Designing Psd to HTML Development */
$router->addRoute('web_designing_psdtohtmldevlopment',
	new Zend_Controller_Router_Route(
		'psd-to-html-designs',
		array('controller' => 'webdesign', 'action' => 'psdtohtmldevlopment')
	)
);


/* Router of Web Designing jQuery Development */
$router->addRoute('web_designing_jquerydevelopment',
	new Zend_Controller_Router_Route(
		'jquery-development',
		array('controller' => 'webdesign', 'action' => 'jquerydevelopment')
	)
);

/* Router of opensource-technologies */
$router->addRoute('opensource_technologies',
	new Zend_Controller_Router_Route(
		'opensource-technologies',
		array('controller' => 'opensource', 'action' => 'index')
	)
);



/* Router of opensource-technologies Zend */
$router->addRoute('opensource_technologies_zend',
	new Zend_Controller_Router_Route(
		'zend-development',
		array('controller' => 'opensource', 'action' => 'zend')
	)
);


/* Router of opensource-technologies Cakephp */
$router->addRoute('opensource_technologies_cakephp',
	new Zend_Controller_Router_Route(
		'cakephp-development',
		array('controller' => 'opensource', 'action' => 'cakephp')
	)
);


/* Router of opensource-technologies Codeigniter */
$router->addRoute('opensource_technologies_codeigniter',
	new Zend_Controller_Router_Route(
		'codeigniter-development',
		array('controller' => 'opensource', 'action' => 'codeigniter')
	)
);


/* Router of opensource-technologies Wordpress */
$router->addRoute('opensource_technologies_wordpress',
	new Zend_Controller_Router_Route(
		'wordpress-development',
		array('controller' => 'opensource', 'action' => 'wordpress')
	)
);


/* Router of opensource-technologies Joomla */
$router->addRoute('opensource_technologies_joomla',
	new Zend_Controller_Router_Route(
		'joomla-development',
		array('controller' => 'opensource', 'action' => 'joomla')
	)
);


/* Router of opensource-technologies Drupal */
$router->addRoute('opensource_technologies_drupal',
	new Zend_Controller_Router_Route(
		'drupal-development',
		array('controller' => 'opensource', 'action' => 'drupal')
	)
);


/* Router of opensource-technologies Oscommerce */
$router->addRoute('opensource_technologies_oscommerce',
	new Zend_Controller_Router_Route(
		'oscommerce-development',
		array('controller' => 'opensource', 'action' => 'oscommerce')
	)
);


/* Router of opensource-technologies Magento */
$router->addRoute('opensource_technologies_magento',
	new Zend_Controller_Router_Route(
		'magento-development',
		array('controller' => 'opensource', 'action' => 'magento')
	)
);

/* Router of internet-marketting-services */
$router->addRoute('internetmarketing',
	new Zend_Controller_Router_Route(
		'internet-marketing-services',
		array('controller' => 'internetmarketing', 'action' => 'index')
	)
);


/* Router of internet-marketting-services seo-services */
$router->addRoute('internetmarketing_seo_services',
	new Zend_Controller_Router_Route(
		'seo-services',
		array('controller' => 'internetmarketing', 'action' => 'seoservices')
	)
);


/* Router of internet-marketting-services Search Engine Marketing */
$router->addRoute('internetmarketing_search_engine_marketing',
	new Zend_Controller_Router_Route(
		'search-engine-marketing',
		array('controller' => 'internetmarketing', 'action' => 'searchenginemarketing')
	)
);


/* Router of internet-marketting-services Social Media Marketing */
$router->addRoute('internetmarketing_socialmediamarketing',
	new Zend_Controller_Router_Route(
		'social-media-marketing',
		array('controller' => 'internetmarketing', 'action' => 'socialmedia')
	)
);


/* Router of internet-marketting-services Mobile Marketting */
$router->addRoute('internetmarketing_mobilemarketting',
	new Zend_Controller_Router_Route(
		'mobile-marketing',
		array('controller' => 'internetmarketing', 'action' => 'mobilemarketing')
	)
);


/* Router of Mobile Application Development */
$router->addRoute('mobileapplication_development',
	new Zend_Controller_Router_Route(
		'mobile-application-development',
		array('controller' => 'mobileapplication', 'action' => 'index')
	)
);


/* Router of Mobile Application Development Iphone and Ipad Development */
$router->addRoute('mobileapplication_iphoneappdevelopment',
	new Zend_Controller_Router_Route(
		'iphone-ipad-development',
		array('controller' => 'mobileapplication', 'action' => 'iphoneappdevelopment')
	)
);

/* Router of Mobile Application Development Android Development */
$router->addRoute('mobileapplication_androidappdevelopment',
	new Zend_Controller_Router_Route(
		'android-application-development',
		array('controller' => 'mobileapplication', 'action' => 'androidappdevelopment')
	)
);

/* Router of showcase Our PortFolio */
$router->addRoute('our_portfolio',
	new Zend_Controller_Router_Route(
		'our-portfolio/:page/',
		array('controller' => 'showcase', 'action' => 'index', 'page' => '1')
	)
);

/* Router of Hire Developer */
$router->addRoute('hiredeveloper',
	new Zend_Controller_Router_Route(
		'hire-professionals',
		array('controller' => 'hiredeveloper', 'action' => 'index')
	)
);


/* Router of Hire Php Developer */
$router->addRoute('hiredeveloper_php',
	new Zend_Controller_Router_Route(
		'hire-php-developer',
		array('controller' => 'hiredeveloper', 'action' => 'phpdeveloper')
	)
);


/* Router of Hire Zend Developer */
$router->addRoute('hiredeveloper_zend',
	new Zend_Controller_Router_Route(
		'hire-zend-developer',
		array('controller' => 'hiredeveloper', 'action' => 'zenddeveloper')
	)
);


/* Router of Hire CakePhp Developer */
$router->addRoute('hiredeveloper_cakephp',
	new Zend_Controller_Router_Route(
		'hire-cakephp-developer',
		array('controller' => 'hiredeveloper', 'action' => 'cakephpdeveloper')
	)
);


/* Router of Hire Codeigniter Developer */
$router->addRoute('hiredeveloper_codeigniter',
	new Zend_Controller_Router_Route(
		'hire-codeigniter-developer',
		array('controller' => 'hiredeveloper', 'action' => 'codeigniterdeveloper')
	)
);


/* Router of Hire Wordpress Developer */
$router->addRoute('hiredeveloper_wordpress',
	new Zend_Controller_Router_Route(
		'hire-wordpress-developer',
		array('controller' => 'hiredeveloper', 'action' => 'wordpressdeveloper')
	)
);


/* Router of Hire Joomla Developer */
$router->addRoute('hiredeveloper_joomla',
	new Zend_Controller_Router_Route(
		'hire-joomal-developer',
		array('controller' => 'hiredeveloper', 'action' => 'joomladeveloper')
	)
);


/* Router of Hire Drupal Developer */
$router->addRoute('hiredeveloper_drupal',
	new Zend_Controller_Router_Route(
		'hire-drupal-developer',
		array('controller' => 'hiredeveloper', 'action' => 'drupaldeveloper')
	)
);


/* Router of Hire Magento Developer */
$router->addRoute('hiredeveloper_magento',
	new Zend_Controller_Router_Route(
		'hire-magento-developers',
		array('controller' => 'hiredeveloper', 'action' => 'magentadeveloper')
	)
);


/* Router of Hire OsCommerce Developer */
$router->addRoute('hiredeveloper_oscommerce',
	new Zend_Controller_Router_Route(
		'hire-oscommerce-developers',
		array('controller' => 'hiredeveloper', 'action' => 'oscommercedeveloper')
	)
);


/* Router of Hire Iphone Ipad Developer */
$router->addRoute('hiredeveloper_iphone',
	new Zend_Controller_Router_Route(
		'hire-iphone-ipad-developers',
		array('controller' => 'hiredeveloper', 'action' => 'iphonedeveloper')
	)
);


/* Router of Hire Android Developer */
$router->addRoute('hiredeveloper_android',
	new Zend_Controller_Router_Route(
		'hire-android-developer',
		array('controller' => 'hiredeveloper', 'action' => 'androiddeveloper')
	)
);


/* Router of Contact US */
$router->addRoute('contact_us',
	new Zend_Controller_Router_Route(
		'contact-us',
		array('controller' => 'contactus', 'action' => 'index')
	)
);


/* Router of Quote Us */
$router->addRoute('quote_us',
	new Zend_Controller_Router_Route(
		'quote-us',
		array('controller' => 'quoteus', 'action' => 'index')
	)
);


/* Router of Testimonials */
/*
  $router->addRoute('testimonials_route',
  new Zend_Controller_Router_Route(
  'testimonials/:page/',
  array('controller' => 'testimonials', 'action' => 'index', 'page' => '1'
  )
  )
  );
 */

$application->bootstrap()->run();

